package com.yzw.phonestoreservice.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: phonestoresys
 * @BelongsPackage: com.yzw.phonestoreservice.vo
 * @Author: yanhongwei
 * @CreateTime: 2022-11-05  08:18
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class PhoneinfoVo {
    /**
     * id
     **/
    @JsonProperty("id")
    private Integer phoneId;

    /**
     * 商品名称 title
     */
    @JsonProperty("title")
    private String phoneName;

    /**
     * 商品单价 price
     */
    @JsonProperty("price")
    private BigDecimal phonePrice;

    /**
     * 描述 desc
     */
    @JsonProperty("desc")
    private String phoneDescription;

    /**
     * 小图 thumb
     */
    @JsonProperty("thumb")
    private String phoneIcon;

    /**
     * 标签 tag
     */
    @JsonProperty("tag")
    private List<Map<String,String>> phoneTag;


}
